package com.kws.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kws.system.domain.SysConsultantExpert;
import com.kws.system.domain.info.QueryConsultantExpertInfo;
import com.kws.system.domain.info.QueryConsultationRecordInfo;
import com.kws.system.domain.vo.CreateConsultantExpertRq;
import com.kws.system.domain.vo.UpdateConsultantExpertRq;

public interface SysConsultantExpertService extends IService<SysConsultantExpert> {
    Page<QueryConsultantExpertInfo> queryConsultantExpertPage(Integer pageNum, Integer pageSize, String content);

    boolean createConsultantExpert(CreateConsultantExpertRq rq);

    QueryConsultantExpertInfo queryConsultantExpertById(Long id);

    boolean updateConsultantExpert(UpdateConsultantExpertRq rq);

    boolean deleteConsultantExpertById(Long id);

    boolean updateConsultantExpertNumber(Long id);

    Page<QueryConsultationRecordInfo> queryConsultationRecordPage(Integer pageNum, Integer pageSize, Long expertId);
}
